package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.YzlScheduleFormation;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 计划编制视图对象 yzl_schedule_formation
 *
 * @author wfy
 * @date 2025-09-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = YzlScheduleFormation.class)
public class YzlScheduleFormationVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;

    /**
     * 编制名称
     */
    @ExcelProperty(value = "编制名称")
    private String projectName;

    /**
     * 计划名称
     */
    @ExcelProperty(value = "计划名称")
    private String planName;

    /**
     * 计划年份
     */
    @ExcelProperty(value = "计划年份")
    private Date planDate;

    /**
     * 是否主计划 0不是 1是
     */
    @ExcelProperty(value = "是否主计划 0不是 1是")
    private String masterPlan;

    /**
     * 附件
     */
    @ExcelProperty(value = "附件")
    private String formationFiles;

    /**
     * 状态(0未启用 1已启用)
     */
    @ExcelProperty(value = "状态(0未启用 1已启用)")
    private String formationStatus;

    /**
     * 计划开始时间
     */
    @ExcelProperty(value = "计划开始时间")
    private Date startDate;

    /**
     * 计划结束时间
     */
    @ExcelProperty(value = "计划结束时间")
    private Date endDate;

    /**
     * 总体完成百分比
     */
    @ExcelProperty(value = "总体完成百分比")
    private Float completion;

    @ExcelProperty(value = "版本号")
    private String version;


    private List<YzlScheduleTaskVo> taskVoList;


}
